package com.daijie.demo;

import com.google.gson.annotations.SerializedName;

public class Token {

    /**
     * vid : 143356
     * timestamp : 1572058892
     * token : +/rRc85aUv6yLnUPE8k3VGfX6MQE+exD7Y14tCPw9gg=
     * app : stu.web
     * nonce : d40c10d9-4f90-4485-a8a9-0d749dddc96c
     */

    @SerializedName("vid")
    private long vid;
    @SerializedName("timestamp")
    private long timestamp;
    @SerializedName("token")
    private String token;
    @SerializedName("app")
    private String app;
    @SerializedName("nonce")
    private String nonce;

    public long getVid() {
        return vid;
    }

    public void setVid(long vid) {
        this.vid = vid;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    @Override
    public String toString() {
        return "Token{" +
                "vid=" + vid +
                ", timestamp=" + timestamp +
                ", token='" + token + '\'' +
                ", app='" + app + '\'' +
                ", nonce='" + nonce + '\'' +
                '}';
    }
}
